package com.netinfo.springboot.service;

import com.netinfo.springboot.common.ServerResponse;
import com.netinfo.springboot.entity.Car;

public interface CarService {
    ServerResponse getCarList(Integer pageNum,Integer pageSize);

    ServerResponse<Car> getCarById(Integer id);

    ServerResponse addCar(Car car);

    ServerResponse delCar(Integer id);

    ServerResponse updateCar(Car car);
}
